#include "Advisor.h"

Advisor::Advisor(){
  Player owner = NULL;
}

//UNTESTED

Card* Advisor::chooseCard(int index, Table* context){ //the deck could be a pointer instead of an object.  It doens't matter
  Deck tempHand = *context->players.at(index).getHand();
  tempHand.sort();
  return tempHand(tempHand.length());
}

Advisor::feedRate()
{
  return 4;
{

int Advisor::feedVassal(Player ownedVassal)
{
  Deck vassalArmy = ownedVassal.getArmy();
  if (vassalArmy.size()<5){
    return 4;
  }
  else (){
    return 0;
  }
}

Advisor::nextFeed()
{
}

Advisor::resetFeed()
{
}

